<!--{eval $home_run = true;}-->
<!--{eval $pageview = lang('home/template','memcp_profile');}-->
<!--{subtemplate home/space_header}-->
<!--{template home/space_site_left}-->
<!--{subtemplate home/space_short_profile}-->
    <div class="bm bbda">
        <div class="bm_h">
            <h1>{lang memcp_profile}</h1>
        </div>
        <div id="pprl" class="bm_c">

            <div class="pbm mbm bbda cl">
                <h2 class="mbn">
                    {$space[username]} 
                    <!--{if $_G['ols'][$space[uid]]}-->
                        <img src="{IMGDIR}/ol.gif" alt="online" title="{lang online}" class="vm" />&nbsp;
                    <!--{/if}-->
                    <span class="xw0">(UID: {$space[uid]}
                    <!--{eval $isfriendinfo = 'home_friend_info_'.$space['uid'].'_'.$_G[uid];}-->
                    <!--{if $_G[$isfriendinfo][note]}-->
                        , <span class="xg1">$_G[$isfriendinfo][note]</span>
                    <!--{/if}-->
                    )</span>
                </h2>
                <!--{hook/space_profile_baseinfo_top}-->
                <ul class="cl bbda pbm mbm">
                    <!--{if $_G['setting']['allowspacedomain'] && $_G['setting']['domain']['root']['home'] && checkperm('domainlength') && !empty($space['domain'])}-->
                    <!--{eval $spaceurl = 'http://'.$space['domain'].'.'.$_G['setting']['domain']['root']['home'];}-->
                    <li><em>{lang second_domain}</em><a href="$spaceurl" onclick="setCopy('$spaceurl', '{lang copy_space_address}');return false;">$spaceurl</a></li>
                    <!--{/if}-->
                    <!--{if $_G['setting']['homestatus']}-->
                        <li><em>{lang space_visits}</em><strong class="xi1">$space[views]</strong></li>
                    <!--{/if}-->
                    <!--{if in_array($_G[adminid], array(1, 2))}-->
                    <li><em>Email</em>$space[email]</li>
                    <!--{/if}-->
                    <li><em>{lang email_status}</em><!--{if $space[emailstatus] > 0}-->{lang profile_verified}<!--{else}-->{lang profile_no_verified}<!--{/if}--></li>
                    <li><em>{lang video_certification}</em><!--{if $space[videophotostatus] > 0}-->{lang profile_certified} <!--{if $showvideophoto}-->&nbsp;&nbsp;(<a href="home.php?mod=space&username=$space[username]&do=videophoto" id="viewphoto" onclick="showWindow(this.id, this.href, 'get', 0)">{lang view_certification_photos}</a>)<!--{/if}--><!--{else}-->{lang profile_no_certified}<!--{/if}--></li>
                    <!--{if $space[spacenote]}--><li><em>{lang spacenote}</em>$space[spacenote]</li><!--{/if}-->
                    <!--{if $space[customstatus]}--><li><em>{lang permission_basic_status}</em>$space[customstatus]</li><!--{/if}-->
                    <!--{if $space[sightml]}--><li><em>{lang personal_signature}</em><table><tr><td>$space[sightml]</td></tr></table></li><!--{/if}-->
                    <li>
                        <em>{lang stat_info}</em>
                        <a href="home.php?mod=space&username=$space[username]&do=friend&view=me" target="_blank">{lang friends_num} $space[friends]</a>
                        <!--{if $_G['setting']['homestatus']}-->
                            <span class="pipe">|</span>
                            <a href="home.php?mod=space&username=$space[username]&do=doing&view=me" target="_blank">{lang doings_num} $space[doings]</a>
                            <span class="pipe">|</span>
                            <a href="home.php?mod=space&username=$space[username]&do=blog&view=me" target="_blank">{lang blogs_num} $space[blogs]</a>
                            <span class="pipe">|</span>
                            <a href="home.php?mod=space&username=$space[username]&do=album&view=me" target="_blank">{lang albums_num} $space[albums]</a>
                        <!--{/if}-->						
                        <!--{if $_G['setting']['allowviewuserthread'] !== false}-->
                            <span class="pipe">|</span>
                            <!--{eval $space['posts'] = $space['posts'] - $space['threads'];}-->
                            <a href="home.php?mod=space&username=$space[username]&do=thread&view=me&type=reply" target="_blank">{lang replay_num} $space[posts]</a>
                            <span class="pipe">|</span>
                            <a href="home.php?mod=space&username=$space[username]&do=thread&view=me&type=thread" target="_blank">{lang threads_num} $space[threads]</a>							
                        <!--{/if}-->
                        <!--{if $_G['setting']['homestatus']}-->
                            <span class="pipe">|</span>
                            <a href="home.php?mod=space&username=$space[username]&do=share&view=me" target="_blank">{lang shares_num} $space[sharings]</a>
                        <!--{/if}-->
                    </li>
                </ul>
                <!--{hook/space_profile_baseinfo_middle}-->
                <ul>
                    <!--{loop $profiles $value}-->
                    <li><em>$value[title]</em>$value[value]</li>
                    <!--{/loop}-->
                </ul>
            </div>
        <!--{hook/space_profile_baseinfo_bottom}-->
        <!--{if $space['medals']}-->
            <div class="pbm mbm bbda cl">
                <h2 class="mbn">{lang medals}</h2>
                <p class="md_ctrl">
                    <a href="home.php?mod=medal">
                    <!--{loop $space['medals'] $medal}-->
                        <img src="{STATICURL}/image/common/$medal[image]" alt="$medal[name]" onmouseover="showTip(this)" tip="<h4>$medal[name]</h4><p>$medal[description]</p>" />
                    <!--{/loop}-->
                    </a>
                </p>
            </div>
        <!--{/if}-->
        <!--{if $_G['setting']['verify']['enabled']}-->
            <!--{eval $showverify = true;}-->
            <!--{loop $_G['setting']['verify'] $vid $verify}-->
                <!--{if $verify['available'] && $space['verify'.$vid] == 1}-->
                    <!--{if $showverify}-->
                    <div class="pbm mbm bbda cl">
                    <h2 class="mbn">{lang profile_verify}</h2>
                    <!--{eval $showverify = false;}-->
                    <!--{/if}-->
                    <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $verify[icon]}--><img src="$verify[icon]" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}--></a>&nbsp;
                <!--{/if}-->
            <!--{/loop}-->
            <!--{if !$showverify}--></div><!--{/if}-->
        <!--{/if}-->
        <!--{if $count}-->
            <div class="pbm mbm bbda cl">
                <h2 class="mbn">{lang manage_forums}</h2>
                <!--{loop $manage_forum $key $value}-->
                <a href="forum.php?mod=forumdisplay&fid=$key" target="_blank">$value</a> &nbsp;
                <!--{/loop}-->
            </div>
        <!--{/if}-->
        <!--{if $groupcount}-->
            <div class="pbm mbm bbda cl">
                <h2 class="mbn">{lang joined_group}</h2>
                <!--{loop $usergrouplist $key $value}-->
                <a href="forum.php?mod=group&fid={$value['fid']}" target="_blank">$value['name']</a> &nbsp;
                <!--{/loop}-->
            </div>
        <!--{/if}-->
            <div class="pbm mbm bbda cl">
                <h2 class="mbn">{lang active_profile}</h2>
                <ul>
                    <!--{if $space[adminid]}--><li><em>{lang management_team}</em><span style="color:{$space[admingroup][color]}"><a href="home.php?mod=spacecp&ac=usergroup&gid=$space[adminid]" target="_blank">{$space[admingroup][grouptitle]}</a></span> {$space[admingroup][icon]}</li><!--{/if}-->
                    <li><em>{lang usergroup}</em><span style="color:{$space[group][color]}"{if $upgradecredit !== false} class="xi2" onmouseover="showTip(this)" tip="{lang credits} $space[credits], {lang thread_groupupgrade} $upgradecredit {lang credits}"{/if}><a href="home.php?mod=spacecp&ac=usergroup&gid=$space[groupid]" target="_blank">{$space[group][grouptitle]}</a></span> {$space[group][icon]} <!--{if !empty($space['groupexpiry'])}-->&nbsp;{lang group_useful_life}&nbsp;<!--{date($space[groupexpiry], 'H:i d/m/Y')}--><!--{/if}--></li>
                    <!--{if $space[extgroupids]}--><li><em>{lang group_expiry_type_ext}</em>$space[extgroupids]</li><!--{/if}-->
                </ul>
                <ul id="pbbs">
                    <!--{if $space[oltime]}--><li><em>{lang online_time}</em>$space[oltime] {lang hours}</li><!--{/if}-->
                    <li><em>{lang regdate}</em>$space[regdate]</li>
                    <li><em>{lang last_visit}</em>$space[lastvisit]</li>
                    <!--{if 0==1 && ($_G[uid] == $space[uid] || $_G[group][allowviewip])}-->
                    <li><em>{lang register_ip}</em>$space[regip] - $space[regip_loc]</li>
                    <li><em>{lang last_visit_ip}</em>$space[lastip] - $space[lastip_loc]</li>
                    <!--{/if}-->
                    <!--{if $space[lastactivity]}--><li><em>{lang last_activity_time}</em>$space[lastactivity]</li><!--{/if}-->
                    <!--{if $space[lastpost]}--><li><em>{lang last_post_time}</em>$space[lastpost]</li><!--{/if}-->
                    <!--{if $space[lastsendmail]}--><li><em>{lang last_send_email}</em>$space[lastsendmail]</li><!--{/if}-->
                    <li><em>{lang time_offset}</em>
                        <!--{eval $timeoffset = array({lang timezone});}-->
                        $timeoffset[$space[timeoffset]]
                    </li>
                </ul>
            </div>
            <div id="psts" class="cl">
                <h2 class="mbn">{lang stat_info}</h2>
                <ul>
                    <!--{if $_G['setting']['homestatus']}-->
                        <li><em>{lang used_space}</em>$space[attachsize]</li>
                    <!--{/if}-->
                    <!--{if $space[buyercredit]}-->
                    <li><em>{lang eccredit_sellerinfo}</em><a href="home.php?mod=space&username=$space[username]&do=trade&view=eccredit#sellcredit" target="_blank">$space[buyercredit] <img src="{STATICURL}image/traderank/buyer/$space[buyerrank].gif" border="0" class="vm" /></a></li>
                    <!--{/if}-->
                    <!--{if $space[sellercredit]}-->
                    <li><em>{lang eccredit_buyerinfo}</em><a href="home.php?mod=space&username=$space[username]&do=trade&view=eccredit#buyercredit" target="_blank">$space[sellercredit] <img src="{STATICURL}image/traderank/seller/$space[sellerrank].gif" border="0" class="vm" /></a></li>
                    <!--{/if}-->
                    <li><em>{lang credits}</em>$space[credits]</li>
                    <!--{loop $_G[setting][extcredits] $key $value}-->
                    <!--{if $value[title]}-->
                    <li><em>$value[title]</em>{$space["extcredits$key"]} $value[unit]</li>
                    <!--{/if}-->
                    <!--{/loop}-->
                </ul>
            </div>
            <!--{hook/space_profile_extrainfo}-->
        </div>
    </div>
<!--{template home/space_site_right}-->
<!--{template common/footer}-->